package com.zzx.bms.service;

import com.zzx.bms.domain.Borrow;

import java.util.List;

/**
 * Created by SamZhao on 2016/12/28.
 */
public interface IBorrowService {

    int checkBorrowOut(String bookId, String userId, String userNumber, String bookType);

    int checkBorrowBack(String bookId, String userId, String userNumber, String bookType);

    int saveBorrowOut(String bookId, String userId, String userNumber, String bookType);

    int saveBorrowBack(String bookId, String userId, String userNumber, String bookType);

    List<Borrow> findAllBorrowList();

    int getBorrowTotal();
}
